package demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@TableName("university")
@Data
public class University {
  @TableId(value = "unid",type = IdType.AUTO)
  private Integer unid;
  private Integer number;
  private String unname;
  private String city;
  private Integer untype;
  private String unintrod;

  @TableField(exist = false)
  private Major major;
}
